package com.itheima.staticstudy;

public class Demo2 extends Demo1 {
    int a = 80;

    public void Video() {
        System.out.println("看电视");
    }

    public Demo2(int a) {
        super(a);
    }

    public  Demo2(){

    }

    public void show(){
        System.out.println("子类方法");
    }
    public void getShow(){
        this.show();
        super.show();
    }
}
